package cn.fl.arbitration.web.apply.service.impl;

import cmm.arbitration.facade.arbitration.api.ITcArbApplyApiService;
import cmm.arbitration.facade.arbitration.dto.TcArbApplyDTO;
import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.arbitration.web.apply.service.ITcArbApplyService;
import org.springframework.stereotype.Service;
import cn.fl.framework.base.context.CurrentThreadContext;

import javax.annotation.Resource;


/**
 * @Description: 仲裁申请信息 客户端服务层接口实现
 * @Description: 业务层方法名称前缀：新增：add* 删除：remove* 修改：modify* 查询对象：select* get* 批量：batch* 查询集合：search*
 */
@Service
public class TcArbApplyServiceImpl implements ITcArbApplyService {

	/**
	 * 日志
	 */
	private static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(TcArbApplyServiceImpl.class);
	
	/**
	 * 自定义 API 自行注入需要的API服务
	 */
	@Resource
	private ITcArbApplyApiService tcArbApplyApiService;




	@Override
	public Pager searchListPage(Pager page) throws BaseException{
		if(null == page){
			page = new Pager();
		}
		//return this.tcArbApplyApiService.searchTcArbApplyListPage(page);
		//TODO 业务逻辑
		return tcArbApplyApiService.searchListPage(page);
	}
	@Override
	public TcArbApplyDTO selectById(Long id) {
		return tcArbApplyApiService.selectById(id);
	}

}
